﻿/// <reference path="_namespace.js" />
/// <reference path="/ajax/IDisposable.js"/>

/*****************************************************************************
Ajaxna library Interface definition.
Author: krobinson 10/13/2008 3:53:32 PM.
Class:  ajax.xna.framework.IGameComponent
*****************************************************************************/

$addNamespace("ajax.xna.framework");
//-----------------------------------------------------------------------------

ajax.xna.framework.IGameComponent = function()
{///<summary>Defines an interface for game components.</summary>
}; // ctor should be blank.
$extend("ajax.xna.framework.IGameComponent", "ajax.IDisposable"); // You may also inherit from another interface.
//-----------------------------------------------------------------------------


// Public Methods
//-----------------------------------------------------------------------------
ajax.xna.framework.IGameComponent.prototype.initialize = function() 
{///<summary>
/// Called when the component should be initialized. This method can be used for tasks like querying for services 
/// the component needs and setting up non-graphics resources.
///</summary>    
};

ajax.xna.framework.IGameComponent.prototype.dispose = function()
{///<summary>Frees up memory of DOM objects created.</summary>
}

// Statics
//-----------------------------------------------------------------------------
ajax.xna.framework.IGameComponent.cast = function(obj)
{///<returns type="ajax.xna.framework.IGameComponent"/>
    return obj;
}